/*
 * Copyright (c) 2021. Moses All Right Reserved
 */

package com.moses.design_patterns.chain;

/**
 * @author Moses
 * @email shenhuohui@gmail.com
 * @date 2021/4/17 21:53
 */
// Handler 实现类
public class LevelTwoHandler extends Handler {
    @Override
    public Level getLevel() {
        return Level.TWO;
    }

    @Override
    public Response response(Request request) {
        return new Response("我能处理 Level.Two 的请求");
    }
}
